package model

import "gorm.io/gorm"

type Article struct {
	gorm.Model
	UserId  int    `gorm:"type:int"`
	Title   string `gorm:"type:varchar(30)"`
	Content string `gorm:"type:varchar(100)"`
}
type ArticleList struct {
	gorm.Model
	Title    string `gorm:"type:varchar(30)"`
	Content  string `gorm:"type:varchar(100)"`
	Username string `gorm:"type:varchar(30)"`
}
